package com.bnz.user.bnzuser.service;

import com.bnz.user.bnzuser.entity.User;

/**
 * @author xy
 * @date 2022/11/29
 */
public interface UserService {

    void sendCode(String phone);

    boolean isValidCodeSuccess(String phone ,String code);

    void add(User user);
}
